package ninder.system.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="user")
public class User {
    
    
    private Long  id;
    
    private Long  idType;
    
    private Long id_pessoal;
    
    private String login;
    
    private String password;
    
    public User(){
        
    }
    
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    @Column(name = "id")
    public Long  getId() {
        return id;
    }

    public void setId(Long  id) {
        this.id = id;
    }
    
    @Column(name = "id_type")
    public Long  getIdType() {
		return idType;
	}

	public void setIdType(Long  idType) {
		this.idType = idType;
	}

	@Column(name = "login")
    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }
    @Column(name = "password")
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

	public Long getId_pessoal() {
		return id_pessoal;
	}

	public void setId_pessoal(Long id_pessoal) {
		this.id_pessoal = id_pessoal;
	}
   
    
    

}
